package com.wisdom.client.runner;

import com.wisdom.client.discovery.nacos.NacosRpcServiceDiscovery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @description: <rpc client runner>
 * @author: Leo
 * @date:2021-08-22 16:27
 */
@Component
public class RpcClientRunner {

    @Autowired
    private NacosRpcServiceDiscovery nacosRpcServiceDiscovery;

    public void run(){
        //1. 服务发现及监听
        nacosRpcServiceDiscovery.serverDiscovery();
        
    }

}
